import request from '@/utils/request'
import { base, qss } from '../utils/request'

export const List = (userName, phone, isUse) => { return request.get(`${base}/voucher/list.json`, { params: { 'entity.userName': userName, 'entity.phone': phone, 'entity.isUse': isUse }}) }

export const Merge = params => { return request.post(`${base}/voucher/merge.json`, qss(params)) }

export const dels = params => { return request.post(`${base}/voucher/delete.json`, qss(params)) }

